HIV is a virus that affects the immune system, specifically the CD4 cells, which help protect the body from illness.